package com.njlime.setting.repository;

import com.njlime.core.helper.PageBean;
import com.njlime.setting.entities.Announce;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

/**
 * 帮助公告
 * Created by Dean on 2018-1-16.
 */
public interface AnnounceDao extends JpaRepository<Announce, Integer>, JpaSpecificationExecutor<Announce> {
    PageBean list(PageBean pageBean, Announce announce);
    void edit(Announce announce);
}
